]> dgit.raspbian.org Git - gnome-shell.git/commit
window-tracker: Emit 'tracked-windows-changed' on title changes
authorJonas Ådahl <jadahl@gmail.com>
Mon, 12 Dec 2022 12:04:11 +0000 (13:04 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 12 Dec 2022 19:32:51 +0000 (19:32 +0000)
commita1d650ce2722fd154b047ce73fa23db205d823d2
tree1cb30a1be348f47adfccc6a2d7db98d0e006f782
parent3b216be637f625815cc873492d8cbcbbd78b3a57
window-tracker: Emit 'tracked-windows-changed' on title changes

This means the screen share window view gets updated also when the title
of a window changes. This is important since it often changes shortly
after mapping, which would otherwise go unnoticed by
xdg-desktop-portal-gnome.

An example is launching Files and it showing up as 'Loading..', or
launching a terminal, and it not showing the proper title (current
directory), but some place holder that is never visible on the
application window.

Adding it to the window tracker instead of in introspect.js itself is
for convenience - there is no per window signal tracking there, and it
already listens to the signal emissions about changed windows.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2578>
src/shell-window-tracker.c